package com.mediator.smartHouse;

public class TVColleague extends Colleague {

    public TVColleague(Mediator mediator, String name) {
        super(mediator, name);
    }

    @Override
    public void sendMessage(int stateChange) {

    }

    public void openTv(){
        System.out.println("电视机打开了 ... ");
    }

    public void closeTv(){
        System.out.println("电视机关了!");
    }
}
